package org.poem.service;



import org.poem.datasource.table.SchemaVO;

import java.sql.Connection;
import java.util.List;

/**
 * @author Administrator
 */
public interface MysqlGatherData {

    /**
     *
     * 获取所有数据库
     * @param connection
     * @return
     */
    public List<SchemaVO> getDataBases(Connection connection);

    /**
     * 获取数据
     * @param connection
     * @return
     */
    public List<String> getSchema(Connection connection);

}
